package com.shang.spring.aop.hello;

public class Main {
    public static void main(String[] args) {

        AtithCalculator target = new AtithCalculatorImpl();
        AtithCalculator proxy = new AtithCalculatorLoggingProxy(target).getLoggingProxy();

        int result = proxy.add(1,2);
        System.out.println(result);
    }
}
